package com.contact_book.operations;

import com.contact_book.entity.Contact;
import com.contact_book.exception.ContactNotFoundException;
import com.contact_book.exception.FailedToHandleFileException;

public interface ContactManager {

    public static final String FILE_HEADER = "Name Email Phone City Street House Office";

    public void addContact(Contact contact) throws FailedToHandleFileException;

    public void showAllContacts();

    public Contact findContact(String name) throws ContactNotFoundException;

    public void deleteContact(String name) throws ContactNotFoundException, FailedToHandleFileException;
}
